/****************************************************************************
*
* Copyright (c) 2023  C*Core -   All Rights Reserved
*
* THIS SOFTWARE IS DISTRIBUTED "AS IS, " AND ALL WARRANTIES ARE DISCLAIMED,
* INCLUDING MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* PROJECT     : ARCH2D10_M1I1C2011BC
*
*   ARCH = Platform architecture, 2 - PowerPC
*    D    = Device ID
*    M    = SW_Version_Major
*    I    = SW_Version_Minor
*    C    = Chip Type
*
* DESCRIPTION : ARCH2D10_M1I1C2011BC Demo Code
* HISTORY     : Initial version
* @file     main.c
* @version  1.2
* @date     2023 - 04 - 18
* @brief    Initial version.
*****************************************************************************/
//#include "CCFC2011BC.h"
//#include "console.h"
#include "demo.h"
#include "main_init.h"
#include "led_control.h"
#include "smart_pwm.h"
#include "can_signal.h"
#include "led_rgb_pwm.h"
/************************************************************************
 * @brief     ARCH2D10_M1I1C2011BC Demo Main.
 * @param[in] None
 * @param[out] None
 * @notapi
 *************************************************************************/
int main(void)
{
    system_init();
    module_init();

    #if DEMO_ENABLE
    Demo_Test();
    #endif
    for( ; ; )
    {
        can_signal_main();
        led_rgb_pwm_main();
        led_control_main(); 
    }
}
